﻿<%@ Page Title="Ngôi nhà nhỏ - Thêm tin mới" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="CreatePost.aspx.cs" Inherits="Interface.Posts.CreatePost" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="le-co-menu">
        <div class="le-co-ti-color">
            <div class="le-co-hi-title"> THÊM TIN</div>
        </div>
        <div class="dlQ">
        <br />
            <p><asp:Label ID="lblMs" runat="server"></asp:Label></p>
            <table>
                <tr>
                    <td align="left">
                        Tác giả: 
                    </td>
                    <td align="left">                            
                        <asp:Label runat="server" ID="lblAuthor"></asp:Label>
                    </td>                    
                </tr>
                <tr>
                    <td align ="left">
                        Tiêu đề
                    </td>
                    
                    <td align="left">
                        <asp:TextBox runat="server" ID="txtTitle" Text='<%# bind("Title") %>'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align ="left">
                        Nội dung ngắn:
                    </td>
                    <td align="left">
                        <asp:TextBox runat="server" ID="txtShort" Text='<%# bind("ShortDescript") %>' TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>                                                                     
                <tr>
                    <td align="left">
                        Nội dung đầy đủ
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="txtFull" Text='<%# bind("FullDescript") %>' TextMode="MultiLine"></asp:TextBox>
                    </td>
                      
                </tr>
                <tr>
                    <td align="left">
                        Hình ảnh
                    </td>
                    <td>
                        <asp:FileUpload runat="server" ID="fuImage" Font-Names="Verdana" Font-Size="8pt" Width="70px"/> 
                    </td>                      
                </tr>
                <tr>
                    <td align="left">
                        Trạng thái
                    </td>
                    <td>                       
                        <asp:DropDownList ID="ddlStatus" runat="server">
                            <asp:ListItem>Nháp</asp:ListItem>
                            <asp:ListItem>Xuất bản</asp:ListItem>
                            <asp:ListItem>Xóa</asp:ListItem>
                        </asp:DropDownList>
                    </td>                      
                </tr>
                <tr>
                    <td align="left">
                        &nbsp;</td>
                    <td>                       
                        <asp:ImageButton runat="server" ID="ibtnSubmit" 
                            ImageUrl="~/Images/Icon/add-button.png" Width="70px" onclick="ibtnSubmit_Click"
                           />&nbsp;
                        <asp:ImageButton runat="server" ID="ibtnReset" 
                            ImageUrl="~/Images/Icon/reset-button.png" Width="70px" 
                            onclick="ibtnReset_Click" />                           
                    </td>                      
                </tr>
            </table>
        </div>        
    </div>
</asp:Content>
